package com.tiantianyuegou.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.tiantianyuegou.R;
import com.tiantianyuegou.util.Tools;

/**
 * 我的一元购
 */
public class MyOneGouActivity extends BaseActivity implements View.OnClickListener {
    private ImageView img_title;
    private TextView text_title;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_one_gou);
        Tools.changeSystemBar(this);
        initViews();
    }

    @Override
    public void findViewByIds() {
        text_title = (TextView) findViewById(R.id.text_title);
        img_title = (ImageView) findViewById(R.id.img_title);
        text_title.setText("我的一元购");

    }

    @Override
    public void initListener() {
        img_title.setOnClickListener(this);

    }

    @Override
    public void initData() {

    }

    @Override
    public void onClick(View v) {
            switch (v.getId()){
                case R.id.img_title:
                    finish();
                break;
            }
    }
}
